package com.ruoyi.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 教师存储教师的基本信息对象 teachers
 * 
 * @author ruoyi
 * @date 2024-05-23
 */
public class Teachers extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 教师的唯一标识 */
    private Long teacherId;

    /** 教师的姓名 */
    @Excel(name = "教师的姓名")
    private String name;

    /** 教师的年龄 */
    @Excel(name = "教师的年龄")
    private Long age;

    /** 教师的性别 */
    @Excel(name = "教师的性别")
    private String gender;

    /** 教师的专业 */
    @Excel(name = "教师的专业")
    private String specialty;

    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setAge(Long age) 
    {
        this.age = age;
    }

    public Long getAge() 
    {
        return age;
    }
    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }
    public void setSpecialty(String specialty) 
    {
        this.specialty = specialty;
    }

    public String getSpecialty() 
    {
        return specialty;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("teacherId", getTeacherId())
            .append("name", getName())
            .append("age", getAge())
            .append("gender", getGender())
            .append("specialty", getSpecialty())
            .toString();
    }
}
